package com.java83.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

public class Person2 {
    @DateTimeFormat(pattern = "yyyy-MM-dd'T'HH:mm",iso = DateTimeFormat.ISO.DATE)
    private LocalDateTime createTime;

    public Person2() {
    }

    @Override
    public String toString() {
        return "Person2{" +
                "createTime=" + createTime +
                '}';
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

}
